﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace MassIntellect.WorkIt
{
    /// <summary>
    /// Селектор: Имя канала = имя элемента
    /// </summary>
    public class DirectXml : IXmlPipeSelector
    {
        #region IXmlPipeSelector Members

        public IWorkFrame Owner { get; set; }

        public IEnumerable<IPipe> Pipes
        {
            get { return Owner.Pipes; }
        }

        public IPipe Select(XElement xe)
        {
            return Owner[""];
        }

        #endregion
    }
}
